@import './common.scss';

html {
  -webkit-text-size-adjust: 100%;
}

page {
  -webkit-overflow-scrolling: touch; /* ios滑动不流畅 */
  height: 100%;
  width: 100%;
  word-break: break-all; /* 英文文本不换行 */
  white-space: normal;
  background-color: $bg-page !important;
  color: $dark-3;
  font-size: 28rpx;
  /* #ifdef H5 */
  overflow: inherit !important;
  /* #endif */
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    Helvetica Neue,
    PingFang SC,
    Microsoft YaHei,
    Source Han Sans SC,
    Noto Sans CJK SC,
    WenQuanYi Micro Hei,
    sans-serif;
}

image,
video {
  max-width: 100%;
}

input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px white inset !important;
}

:-webkit-autofill {
  transition: background-color 5000s ease-in-out 0s !important;
}

::-webkit-scrollbar {
  width: 0;
  height: 0;
  color: transparent;
  display: none;
  -webkit-appearance: none;
  background: transparent;
}
